//
//  YWSDKUtil.h
//  faceTime
//
//  Created by 历成栋 on 2020/11/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YWSDKUtil : NSObject

/**初始化YWSDK 返回YES 成功,NO失败*/
+(BOOL)initYWSDK;

/** 反初始化(退出程序前调用) */
+(void)uninitYESDK;

/**注销登录*/
-(void)YWSDKLogout;

/**token登录*/
-(void)YWLoginByToken;

/**设置服务器地址 */
+(void)setServerAddress:(NSString *)address;

#pragma mark ---------CloudroomVideoMgrCallBack回调

/** 设置回调 @param callBack 代理对象*/
- (void)setYWMgrCallback:(id <CloudroomVideoMgrCallBack>)callBack;

/**移除回调 @param callBack 代理对象 */
-(void) removeYWMgrCallback:(id<CloudroomVideoMgrCallBack>)callBack;


#pragma mark --------- 会议相关方法
/** 创建会议 @param meetSubject 会议主题 @param createPswd 会议密码 @param cookie 用户自定义数据 */
-(void)ywCreateMeeting:(NSString *)meetSubject createPswd:(BOOL)createPswd cookie:(NSString *)cookie;


@end

NS_ASSUME_NONNULL_END
